-- GENERATED SPELL FOR [Frostgore] --


function spell0_24173(pUnit, Event) --@Ground Slam,Self--
pUnit:FullCastSpellOnTarget(52058,pUnit)
pUnit:RegisterEvent('Sorts_24173', 1000, 1)
end

function Sorts_24173(pUnit, Event)
local choix_sorts_24173 = math.random(0, 0)
if choix_sorts_24173 == 0 then
pUnit:RegisterEvent('spell0_24173', 1, 1)
end
end

function mob24173_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_24173', math.random(1500, 3000), 1)
end

function mob24173_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob24173_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob24173_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(24173, 1, 'mob24173_Action')
RegisterUnitEvent(24173, 2, 'mob24173_Leave')
RegisterUnitEvent(24173, 3, 'mob24173_Kill')
RegisterUnitEvent(24173, 4, 'mob24173_Die')
